package controllers;

import controllers.cpanel.Admin;
import models.Setting;

public class Security extends Secure.Security {

	static boolean authentify(String username, String password) {
		return Setting.connect(username,password);
	}
	
	static void onDisconnected() {
		Admin.index();
	}
	
	static void onAuthenticated() {
	    Admin.index();
	}
}
